package com.pop.Demo05;
import java.util.Objects;
//Person 人
//在java中所有的类都默认继承object
public class Person{
    public Person(String name) {
        System.out.println("person无参执行了");
    }

    protected String name = "xu";
   //私有的东西无法被继承
    public void print(){
        System.out.println("PERSON");
    }
}
